<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>双向数据绑定</title>
    <script type="text/javascript" src="../lib/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">

    <input type="text" v-model="msg">
    <p>{{msg}}</p>


</div>

<script>

    new Vue({

        el:"#app",
        template:"",
        data:function () {
            return{

                msg:"邢伟新"



            }
        }




    })



</script>
</body>
</html>